<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<jsp:include page="head.htm" />
</head>
<body>
	<div id="head">
		<h1>Autovermietung München</h1>
	</div>
	<jsp:include page="admin-menu.htm" />
	<div id="content">
		<h2>
			<c:out value="${title}" />
		</h2>
		<p>
			<c:out value="${message}" />
		</p>
		<form method="get" action="StopFahrt.html">
			<p>
				<input type="hidden" name="fahrtId" value='<c:out value="${fahrt.id}"/>' />
			</p>
			<table class="editing">
				<colgroup>
					<col class="attribute" />
					<col class="value" />
				</colgroup>
				<tbody>
					<tr>
						<td>Kilometer:</td>
						<td><input type="text"
							name="km" value='<c:out value="${fahrt.km}"/>' 
							size="50" /></td>
					</tr>
					<tr>
						<td>Station:</td>
						<td>
								<select name="stationId">
									<c:forEach items="${station}" var="station">
										<option value="${station.id}">${station.strasse}</option>
									</c:forEach>
								</select>
							</td>
					</tr>
					<tr class="submit">
						<td colspan="2"><input type="submit"
							value=" Änderungen übernehmen " /></td>
					</tr>
				</tbody>
			</table>
		</form>
	</div>
</body>
</html>
